package com.wanmait.baohan.service.Impl;

import com.github.pagehelper.PageInfo;
import com.wanmait.baohan.mapper.CapitalTypeMapper;
import com.wanmait.baohan.pojo.CapitalType;
import com.wanmait.baohan.service.CapitalTypeService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
@Transactional(rollbackFor = Exception.class)
public class CapitalTypeImpl implements CapitalTypeService {

    @Resource
    CapitalTypeMapper capitalTypeMapper;

    @Override
    public void insert(CapitalType object) {

    }

    @Override
    public void delete(Integer id) {

    }

    @Override
    public void delete(String ids) {

    }

    @Override
    public void update(CapitalType object) {

    }

    @Override
    public CapitalType findById(Integer id) {
        return null;
    }

    @Override
    public List<CapitalType> findAll() {

        return capitalTypeMapper.findAll();

    }

    @Override
    public List<CapitalType> findAll(CapitalType object) {

        return null;
    }

    @Override
    public PageInfo<CapitalType> findPage(int pageNum) {
        return null;
    }

    @Override
    public PageInfo<CapitalType> findPage() {
        return null;
    }

    @Override
    public PageInfo<CapitalType> findPage(int pageNum, CapitalType object) {
        return null;
    }

    @Override
    public PageInfo<CapitalType> findPage(CapitalType object) {
        return null;
    }
}
